package com.itita.ww2.handler.requesthandler.worldmap.utils;

import com.itita.ww2.data.WorldMapConfig;
import com.itita.ww2.utils.TimeUtil;
import com.smartfoxserver.v2.entities.data.ISFSObject;

public class WorldMapUtils {
	/**
	 * 城战时间判定
	 */
	public static final boolean cityWarTimePeriod() {
		// 时间判定
		ISFSObject timeCfg = WorldMapConfig.getCityTimeCfg();
		return TimeUtil.timePeriod(timeCfg.getUtfString("start"), timeCfg.getUtfString("end"),
				timeCfg.getUtfString("timezone"));
	}
}
